<?php 

include_once "dBug.php";

include_once "profiles_functions.php";

function UserProfile($roleProfile){

	global $wpdb;
	$courses = get_all_courses();
	$forms =  get_all_forms();
	$teachers = get_all_teachers();

	echo "<hr>  out <hr>";

	new dBug($courses);


	var_dump($courses);



	echo "<hr>  out <hr>";




	echo $roleProfile;
	echo "<hr>";

	$hr = "<hr>";
	echo $hr;
	var_dump(  $teachers );
	echo $hr;

	$roleName = $roleProfile["role_name"];

	if($role_name = "Admin"){
		include "profile_administrator.php";
		//include "profile_client.php";
		//include "profile_teacher.php";
		//include "profile_finance.php";
	}

?>
	


	
<?php
}
?>



